Summary of QuickDraw GX Memory Management
Constants and Data Types
Graphics Client Object
typedef struct gxPrivateGraphicsClientRecord *gxGraphicsClient;Graphics Client Attributes
enum gxClientAttributes { gxStaticHeapClient = 0x0001 }; typedef long gxClientAttribute;Functions
Creating and Disposing of a Graphics Client
gxGraphicsClient GXNewGraphicsClient (void *memoryStart, long memoryLength, gxClientAttribute attribute); void GXDisposeGraphicsClient(gxGraphicsClient client);Allocating and Disposing of a Graphics Client Heap
void GXEnterGraphics (void); void GXExitGraphics (void);Working With Multiple Graphics Clients
gxGraphicsClient GXGetGraphicsClient (void); long GXGetGraphicsClients (long index, long count, gxGraphicsClient clients[]); void GXSetGraphicsClient (gxGraphicsClient client);Loading and Unloading Objects
void GXLoadShape (gxShape target); void GXUnloadShape (gxShape target); void GXLoadStyle (gxStyle target); void GXUnloadStyle (gxStyle target); void GXLoadInk (gxInk target); void GXUnloadInk (gxInk target); void GXLoadTransform (gxTransform target); void GXUnloadTransform (gxTransform target); void GXLoadColorSet (gxColorSet target); void GXUnloadColorSet (gxColorSet target); void GXLoadColorProfile (gxColorProfile target); void GXUnloadColorProfile(gxColorProfile target); void GXLoadTag (gxTag target); void GXUnloadTag (gxTag target);